package com.example.demo.entity.app;

import java.io.Serializable;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xkx
 * @date 2019/1/7
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Entity
public class AppUser implements Serializable {

  private static final long serialVersionUID = 7956342533443314285L;

  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  private Long id;

  private String name;

  private String password;
}
